const route=[
    {
    path: '/layout',
    name: 'layout',
    component: () => import('../views/Layout.vue'),
    redirect:'/login',
    children:[

    ]
  },
  {
    path: '/login',
    name: 'Login',
    component: () => import(/* webpackChunkName: "login" */ '../views/Login/LoginNew.vue'),
  },
  {
    path: '/:pathMatch(.*)*',
    name: '404',
    component: () => import(/* webpackChunkName: "404" */ '../components/NotFound.vue'),
  }
]
export default route
export const mainRoute=route.filter(a=>a.name=='layout')[0]
export const defaultRoutes=[{
  path: '/',
  name: 'Home',
  component: () => import(/* webpackChunkName: "home" */ '../views/Home/Home.vue'),
  icon:'HomeFilled',
  meta:{title:'nav.home'}
}]
